package com.csu54sher.basereservation.service;

import com.csu54sher.basereservation.dto.UserDTO;
import com.csu54sher.basereservation.dto.UserLoginDTO;
import com.csu54sher.basereservation.dto.UserPasswordDTO;
import com.csu54sher.basereservation.dto.UserWithoutPasswordDTO;
import com.csu54sher.basereservation.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.csu54sher.basereservation.vo.UserVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author csu54sher
 * @since 2025-10-19
 */
public interface IUserService extends IService<User> {

    User login(UserLoginDTO userLoginDTO);

    void register(UserDTO userDTO);

    void updateUserInfo(UserWithoutPasswordDTO userWithoutPasswordDTO, String currentId);

    void updateUserPassword(UserPasswordDTO userPasswordDTO, String currentId);
}
